﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using GenericModels;

namespace WcfTicketsLibrary
{
    [ServiceContract(SessionMode = SessionMode.Required)]
    public interface ISeat
    {
        [OperationContract]
        Seat GetSeat(int SeatId);

        [OperationContract]
        List<Seat> GetAllSeatsOnShow(Show show);

        [OperationContract]
        int LockSeat(List<Seat> seat, int status);

        [OperationContract]
        bool UnLockSeat(Seat seat);
    }
}
